package sample.domain;

import javafx.beans.property.SimpleStringProperty;
import javafx.beans.property.StringProperty;
import javafx.scene.layout.HBox;

public class ExpectedNotice {
    private int id;
    private StringProperty keyword=new SimpleStringProperty();
    private StringProperty company=new SimpleStringProperty();
    private StringProperty email=new SimpleStringProperty();

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getKeyword() {
        return keyword.get();
    }

    public StringProperty keywordProperty() {
        return keyword;
    }

    public void setKeyword(String keyword) {
        this.keyword.set(keyword);
    }

    public String getCompany() {
        return company.get();
    }

    public StringProperty companyProperty() {
        return company;
    }

    public void setCompany(String company) {
        this.company.set(company);
    }

    public String getEmail() {
        return email.get();
    }

    public StringProperty emailProperty() {
        return email;
    }

    public void setEmail(String email) {
        this.email.set(email);
    }

    @Override
    public String toString() {
        return "ExpectedNotice{" +
                "id=" + id +
                ", keyword='" + keyword + '\'' +
                ", company='" + company + '\'' +
                ", email='" + email + '\'' +
                '}';
    }
}
